package com.imooc.service;

import com.imooc.dto.ProductCategoryExecution;
import com.imooc.entity.ProductCategory;

import java.util.List;

/**
 * @author
 * @create 2018-08-02 20:20
 **/
public interface ProductCategoryService {

    /**
     * 批量增加商品类别信息
     *
     * @param productCategoryList
     * @return
     */
    public ProductCategoryExecution batchAddProductCategory(List<ProductCategory> productCategoryList);

    /**
     * 根据shopId获取对应的商品分类信息
     *
     * @param shopId
     * @return
     */
    public List<ProductCategory> getProductCategoryList(int shopId);

    public ProductCategoryExecution deleteProductCategory(int productCategoryId, int shopId) throws RuntimeException;
}
